package asmin.test;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Intro extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	
	    setContentView(R.layout.intro);
	    
	    Button button = (Button)findViewById(R.id.Button01);
	    button.setOnClickListener(
	    	new Button.OnClickListener(){ 
				@Override
				public void onClick(View v) {
					Intent intent = new Intent(Intro.this, test.class); // 두번째 액티비티를 실행하기 위한 인텐트
					startActivity(intent); // 두번째 액티비티를 실행합니다. 
					finish();
				}
	    	}
	    );
	}
}